import React, {Component} from 'react';
import { Link } from 'react-router-dom';
import AppRouter from './app-router';

export default class Master extends Component {
  
  render() {
    return [
      <div key='bar'>
        <Link to='/'>新闻列表</Link>
        <Link to='detail'>新闻详情</Link>
      </div>,
      <AppRouter key='router' />,
    ]
  }
}